<template>
	<view>
		<view class="video">
		  <video :src="cdn(url)" class="video-box" :autoplay="true"></video>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad(options) {
			console.log(options)
		    this.url = options.url
		    uni.setNavigationBarTitle({
		      title: options.name || '详情',
		    })
		  },
		methods: {
			
		}
	}
</script>

<style>
/* service/video/video.wxss */

.video{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000000;
}
.video-box{
  width: 750rpx;
}
</style>
